/**index.wxss**/
page {
  height: 100vh;

  display: flex;
  flex-direction: column;
  box-sizing: border-box;

  > view {
    &:nth-child(n + 2){
      margin-top: 16rpx;
    }
  }
}

.scrollarea {
  flex: 1;
  overflow-y: hidden;
}

// 轮播图样式
.swiper {
  border-radius: 10rpx;
  overflow: hidden;

  swiper {
    height: 360rpx;
    // background-color: skyblue;

    swiper-item {

      image {
        border-radius: 10rpx;
        width: 100%;
        height: 100%;
      }

      // 移除背景色
      // &:first-child {
      //   background-color: lightsalmon;
      // }
  
      // &:last-child {
      //   background-color: lightseagreen;
      // }
    }
  }
}

// 公司信息样式
.info {
  // 支持弹性布局
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  padding: 16rpx;
  // margin: 16rpx;
  border-radius: 10rpx;
  font-size: 24rpx;
  padding: 20rpx 16rpx;
}

// 商品导航样式
.good-nav {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  padding: 20rpx 16rpx;
  border-radius: 10rpx;

  view {
    // 导航
    navigator {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    // 导航图片
    image {
      width: 80rpx;
      height: 80rpx;
      border-radius: 16rpx;
    }
    // 文字
    text {
      font-size: 24rpx;
      margin-top: 12rpx;
    }
  }
}
